﻿@model string[]
@{
    var dicNameIcon = new Dictionary<string, string>
        {
            {"attach", "ui-icon-link"},
            {"open", "ui-icon-folder-collapsed"},
            {"download", "ui-icon-arrowthickstop-1-s"},
            {"delete", "ui-icon-trash"},
            {"add", "ui-icon-plus"}
        };
}
@{
    foreach (var item in Model)
    {
    <span class="flatStyle @item" title="@item">
        <span class="ui-icon ui-icon @dicNameIcon[item]"></span>
    </span>  
    }
}
